package com.msb.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: lmf
 * @Create: 2025/3/6 17:03
 * Description:
 */
@SpringBootApplication
@EnableDiscoveryClient // nacos注册中心
@EnableFeignClients // feign调用
// 扫描包
@ComponentScan(basePackages = {"com.msb.api", "com.msb.common.util"})
public class ApiStarterApp {
    public static void main(String[] args) {
        SpringApplication.run(ApiStarterApp.class, args);
    }
}
